home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / Mesa-1.2.1 / src-tk / Makefile.orig < prev    next >
Encoding:
Makefile  |  1995-07-05  |  1.9 KB  |  87 lines

  1. # Makefile for tk toolkit
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  1.2.1
  5. # Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Id: Makefile,v 1.5 1995/06/21 15:57:46 brianp Exp $
  23.  
  24. # $Log: Makefile,v $
  25. # Revision 1.5  1995/06/21  15:57:46  brianp
  26. # added IRIX 5 DSO and Linux ELF shared library targets
  27. # Release 1.2.1
  28. #
  29. # Revision 1.4  1995/05/22  17:00:00  brianp
  30. # Release 1.2
  31. #
  32. # Revision 1.3  1995/05/15  16:15:30  brianp
  33. # clean up and reorganize
  34. #
  35. # Revision 1.2  1995/04/17  13:44:32  brianp
  36. # added VPATH definition
  37. #
  38. # Revision 1.1  1995/03/26  15:13:07  brianp
  39. # Initial revision
  40. #
  41.  
  42.  
  43. ##### MACROS #####
  44.  
  45. VPATH = RCS
  46.  
  47. INCDIR = ../include
  48. LIBDIR = ../lib
  49.  
  50. OBJECTS = cursor.o event.o font.o getset.o image.o shapes.o window.o
  51.  
  52.  
  53.  
  54. ##### RULES #####
  55.  
  56. .c.o:
  57.     $(CC) -c $(CFLAGS) $<
  58.  
  59.  
  60.  
  61. ##### TARGETS #####
  62.  
  63. default:
  64.     @echo "Specify a target configuration"
  65.  
  66. clean:
  67.     -rm *.o *~
  68.  
  69. targets: $(LIBDIR)/libMesatk.a
  70.  
  71. $(LIBDIR)/libMesatk.a: $(OBJECTS)
  72.     ar $(ARFLAGS) $@ $(OBJECTS)
  73.     $(RANLIB) $@
  74.  
  75. # Make SGI IRIX 5.x DSO:
  76. $(LIBDIR)/libMesatk.so: $(OBJECTS)
  77.     ld -shared -all $(OBJECTS) -o $@
  78.  
  79. # Make Linux ELF shared library:
  80. $(LIBDIR)/libMesatk.so.1: $(OBJECTS)
  81.     gcc -shared $(OBJECTS) -o $@
  82.  
  83.  
  84. include ../Make-config
  85.  
  86.  
  87.